﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200100B RID: 4107
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournEnterScRsp : IMessage<RogueTournEnterScRsp>, IMessage, IEquatable<RogueTournEnterScRsp>, IDeepCloneable<RogueTournEnterScRsp>, IBufferMessage
	{
		// Token: 0x170033F2 RID: 13298
		// (get) Token: 0x0600B7BB RID: 47035 RVA: 0x001EFC4B File Offset: 0x001EDE4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournEnterScRsp> Parser
		{
			get
			{
				return RogueTournEnterScRsp._parser;
			}
		}

		// Token: 0x170033F3 RID: 13299
		// (get) Token: 0x0600B7BC RID: 47036 RVA: 0x001EFC52 File Offset: 0x001EDE52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournEnterScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033F4 RID: 13300
		// (get) Token: 0x0600B7BD RID: 47037 RVA: 0x001EFC64 File Offset: 0x001EDE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournEnterScRsp.Descriptor;
			}
		}

		// Token: 0x0600B7BE RID: 47038 RVA: 0x001EFC6B File Offset: 0x001EDE6B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterScRsp()
		{
		}

		// Token: 0x0600B7BF RID: 47039 RVA: 0x001EFC74 File Offset: 0x001EDE74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterScRsp(RogueTournEnterScRsp other) : this()
		{
			this.rogueTournCurInfo_ = ((other.rogueTournCurInfo_ != null) ? other.rogueTournCurInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B7C0 RID: 47040 RVA: 0x001EFCDC File Offset: 0x001EDEDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournEnterScRsp Clone()
		{
			return new RogueTournEnterScRsp(this);
		}

		// Token: 0x170033F5 RID: 13301
		// (get) Token: 0x0600B7C1 RID: 47041 RVA: 0x001EFCE4 File Offset: 0x001EDEE4
		// (set) Token: 0x0600B7C2 RID: 47042 RVA: 0x001EFCEC File Offset: 0x001EDEEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurInfo RogueTournCurInfo
		{
			get
			{
				return this.rogueTournCurInfo_;
			}
			set
			{
				this.rogueTournCurInfo_ = value;
			}
		}

		// Token: 0x170033F6 RID: 13302
		// (get) Token: 0x0600B7C3 RID: 47043 RVA: 0x001EFCF5 File Offset: 0x001EDEF5
		// (set) Token: 0x0600B7C4 RID: 47044 RVA: 0x001EFCFD File Offset: 0x001EDEFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170033F7 RID: 13303
		// (get) Token: 0x0600B7C5 RID: 47045 RVA: 0x001EFD06 File Offset: 0x001EDF06
		// (set) Token: 0x0600B7C6 RID: 47046 RVA: 0x001EFD0E File Offset: 0x001EDF0E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600B7C7 RID: 47047 RVA: 0x001EFD17 File Offset: 0x001EDF17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournEnterScRsp);
		}

		// Token: 0x0600B7C8 RID: 47048 RVA: 0x001EFD28 File Offset: 0x001EDF28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournEnterScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTournCurInfo, other.RogueTournCurInfo) && this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B7C9 RID: 47049 RVA: 0x001EFD8C File Offset: 0x001EDF8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTournCurInfo_ != null)
			{
				num ^= this.RogueTournCurInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B7CA RID: 47050 RVA: 0x001EFDF7 File Offset: 0x001EDFF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B7CB RID: 47051 RVA: 0x001EFDFF File Offset: 0x001EDFFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B7CC RID: 47052 RVA: 0x001EFE08 File Offset: 0x001EE008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueTournCurInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.RogueTournCurInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B7CD RID: 47053 RVA: 0x001EFE80 File Offset: 0x001EE080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTournCurInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B7CE RID: 47054 RVA: 0x001EFEF0 File Offset: 0x001EE0F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournEnterScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTournCurInfo_ != null)
			{
				if (this.rogueTournCurInfo_ == null)
				{
					this.RogueTournCurInfo = new RogueTournCurInfo();
				}
				this.RogueTournCurInfo.MergeFrom(other.RogueTournCurInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B7CF RID: 47055 RVA: 0x001EFF84 File Offset: 0x001EE184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B7D0 RID: 47056 RVA: 0x001EFF90 File Offset: 0x001EE190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 56U)
					{
						if (num != 74U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.rogueTournCurInfo_ == null)
							{
								this.RogueTournCurInfo = new RogueTournCurInfo();
							}
							input.ReadMessage(this.RogueTournCurInfo);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004A28 RID: 18984
		private static readonly MessageParser<RogueTournEnterScRsp> _parser = new MessageParser<RogueTournEnterScRsp>(() => new RogueTournEnterScRsp());

		// Token: 0x04004A29 RID: 18985
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004A2A RID: 18986
		public const int RogueTournCurInfoFieldNumber = 9;

		// Token: 0x04004A2B RID: 18987
		private RogueTournCurInfo rogueTournCurInfo_;

		// Token: 0x04004A2C RID: 18988
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04004A2D RID: 18989
		private uint retcode_;

		// Token: 0x04004A2E RID: 18990
		public const int RogueTournCurSceneInfoFieldNumber = 1;

		// Token: 0x04004A2F RID: 18991
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;
	}
}
